package com.telecom.restaurant.domin;

import java.util.List;

/**
 * Created by qiqi on 2019/12/3.
 */
public class PaginationResult {

    private int pageNo;

    private int pageSize;

    private int count;

    private List dataList;

    public PaginationResult() {
    }

    public PaginationResult(PaginationParam paginationParam) {
        this.pageNo = paginationParam.getPageNo();
        this.pageSize = paginationParam.getPageSize();
    }


    public List getDataList() {
        return dataList;
    }

    public void setDataList(List dataList) {
        this.dataList = dataList;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
